//
//  PBOrderSuccessController.m
//  PBHomeDemo
//
//  Created by Playboy on 2018/1/30.
//  Copyright © 2018年 tmkj. All rights reserved.
//

#import "PBOrderSuccessController.h"
#import "PBOrderSuccessCell.h"

static NSString * const kPBOrderSuccessCell = @"PBOrderSuccessCell";

@interface PBOrderSuccessController ()<UITableViewDelegate,UITableViewDataSource>
@property (strong, nonatomic) IBOutlet UITableView *tableView;

@end

@implementation PBOrderSuccessController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    [self configure];
}
- (void)configure {
    [self configureView];
    [self configureData];
}

- (void)configureView {
    [self.tableView registerNib:[UINib nibWithNibName:kPBOrderSuccessCell bundle:nil] forCellReuseIdentifier:kPBOrderSuccessCell];
}
- (void)configureData {
    
}


#pragma mark - <UITableViewDelegate,UITableViewDataSource>
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return 1;
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    PBOrderSuccessCell *cell = [tableView dequeueReusableCellWithIdentifier:kPBOrderSuccessCell forIndexPath:indexPath];
    cell.jumpVC = self;
    return cell;
}

#pragma mark - super
- (void)resetNavigationBarItems {
    [super resetNavigationBarItems];
    self.title = @"预约订单";
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
